﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DebuggerStepThrough, DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152")]
    public class PTZPresetTourPresetDetailOptions
    {
        private XmlAttribute[] anyAttrField;
        private PTZPresetTourPresetDetailOptionsExtension extensionField;
        private bool homeField;
        private bool homeFieldSpecified;
        private Space2DDescription panTiltPositionSpaceField;
        private string[] presetTokenField;
        private Space1DDescription zoomPositionSpaceField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=4)]
        public PTZPresetTourPresetDetailOptionsExtension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=1)]
        public bool Home
        {
            get
            {
                return this.homeField;
            }
            set
            {
                this.homeField = value;
            }
        }

        [XmlIgnore]
        public bool HomeSpecified
        {
            get
            {
                return this.homeFieldSpecified;
            }
            set
            {
                this.homeFieldSpecified = value;
            }
        }

        [XmlElement(Order=2)]
        public Space2DDescription PanTiltPositionSpace
        {
            get
            {
                return this.panTiltPositionSpaceField;
            }
            set
            {
                this.panTiltPositionSpaceField = value;
            }
        }

        [XmlElement("PresetToken", Order=0)]
        public string[] PresetToken
        {
            get
            {
                return this.presetTokenField;
            }
            set
            {
                this.presetTokenField = value;
            }
        }

        [XmlElement(Order=3)]
        public Space1DDescription ZoomPositionSpace
        {
            get
            {
                return this.zoomPositionSpaceField;
            }
            set
            {
                this.zoomPositionSpaceField = value;
            }
        }
    }
}

